<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-tModelInfo-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">外键-客户编号：</label>
				<div class="col-sm-8">
					<input id="custsId" name="custsId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">模型编号：</label>
				<div class="col-sm-8">
					<input id="modelId" name="modelId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">模型名称：</label>
				<div class="col-sm-8">
					<input id="modelName" name="modelName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">模型描述：</label>
				<div class="col-sm-8">
					<input id="modelNotice" name="modelNotice" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">场景分类（实时，事中，事后）：</label>
				<div class="col-sm-8">
					<input id="appType" name="appType" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">业务分类：</label>
				<div class="col-sm-8">
					<input id="busiType" name="busiType" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">模型等级：</label>
				<div class="col-sm-8">
					<input id="modelLevel" name="modelLevel" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">规则说明：</label>
				<div class="col-sm-8">
					<input id="ruleInfo" name="ruleInfo" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">运行周期：</label>
				<div class="col-sm-8">
					<input id="runPeriod" name="runPeriod" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">应用范围：</label>
				<div class="col-sm-8">
					<input id="appScope" name="appScope" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">模型脚本：</label>
				<div class="col-sm-8">
					<input id="modelScript" name="modelScript" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">模型状态：</label>
				<div class="col-sm-8">
					<input id="status" name="status" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "model/tModelInfo"
		$("#form-tModelInfo-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-tModelInfo-add').serialize());
	        }
	    }
	</script>
</body>
</html>
